package com.hubt.mapper;

import com.hubt.model.PtMenuDirectory;
import com.hubt.model.PtRRoleOrgan;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PtRRoleOrganMapper {


    int deleteByPrimaryKey(String dutyid);

    int insert(PtRRoleOrgan record);

    int insertSelective(PtRRoleOrgan record);


    PtRRoleOrgan selectByPrimaryKey(String dutyid);


    int updateByPrimaryKeySelective(PtRRoleOrgan record);

    int updateByPrimaryKey(PtRRoleOrgan record);
    
    int countSize();
	 List<PtRRoleOrgan> findAllByPage(@Param("pageNumber") int pageNumber,@Param("pageSize") int pageSize);
	 List<PtRRoleOrgan> findByduty(@Param("id")String id);
}